package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "客户存款下单客户主扫请求体")
public class CustomerDepositPayRequest {
    @Schema(description = "客户存款id", example = "1")
    @NotNull
    private Integer id;

    @Schema(description="存款金额",example="100")
    @Min(0)
    private BigDecimal account;

    @Schema(description="商户主动扫码时，扫出的客户付款id")
    private String authCode;

    @Schema(description="支付类型:1现金 2欠账 3银行卡 4其他 5存款 11门店微信二维码 12微信客户主扫 13微信客户被扫 14微信刷脸 21门店支付宝二维码 22支付宝客户扫商户 23支付宝商户扫客户 31易收宝客户扫商户 32易收宝商户扫客户")
    private Integer payType;

    @Schema(description="操作者",example="admin")
    private String operator;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getAccount() {
        return account;
    }

    public void setAccount(BigDecimal account) {
        this.account = account;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }
}
